<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>教师界面</title>
		<style type="text/css">
			* {
				padding: 0;
				margin: 0;
			}

			.table1 {
				background-color: aquamarine;
				font-size: 30px;
			}

			.table1_right {
				width: 100px;
				height: 30px;
				border-radius: 10px;
				margin-left: 300px;
			}

			.teacher_header_button {
				height: 30px;
				border-radius: 10px;
			}

			.teacher_header_select {
				width: 100px;
				border-radius: 10px;
			}

			.test {
				font-size: 20px;
				background-color: aquamarine;
				border-radius: 5px;
			}
		</style>
		<script type="text/javascript">
			function modifyPassword() {
				window.location = 'ModifyPassword.jsp';

			}

			function exit() {
				window.location = 'index.html';
			}

			function beforeExam() {
				window.location = 'Teacher_Addexam.jsp';
			}
			
			function studentEdit() {
				window.location = 'Teacher_student.jsp';
			}

			function afterExam() {
				window.location = 'Teacher_Download.jsp';

			}

			function select() {
				var key = document.getElementById("select_option").value;
				switch (key) {
					case '2':
						window.location = 'Teacher_Notification.jsp';
						break;
					case '1':
						window.location = 'Teacher_student.jsp';
						break;
					case '0':
						window.location = 'Submit_Information.jsp';
						break;

					default:
						break;
				}
			}
		</script>
	</head>
	<body>
		<div id="div1" class="table1">
			<table>
				<tr>
					<td>上机考试系统</td>
					<td><button class="teacher_header_button" onclick="beforeExam()">考试管理</button></td>
					<td><button class="teacher_header_button" onclick="studentEdit()">学生管理</button></td>
					<!-- 	<td><select class="teacher_header_select" id="select_option" name="q" onchange="select()">
		<option class="test" value="0">更多</option>
		<option class="test" value="1">学生信息</option>
		<option class="test" value="2">通知管理</option>
	</select></td> -->
					<!-- <td><button class="teacher_header_button" onclick="afterExam()">考后操作</button></td> -->
					<td><button class="table1_right" onclick="modifyPassword()">修改密码</button></td>
					<td><button class="teacher_header_button " onclick="exit()">退出</button></td>
				</tr>
			</table>
		</div>
	</body>
</html>
